<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>My JSP 'foodUpdate.jsp' starting page</title>
     <link href="${pageContext.request.contextPath }/css/waimaistyle.css"
	type=text/css rel=stylesheet />
	<style type="text/css">
		.food_update{
			text-align: center;
		}
		.food_update form input {
			margin-top: 5px;
		} 
	</style>
  </head>
  
  <body>
	<p align="center">食品更新</p>
		<div class="food_update">
			<form action="${pageContext.request.contextPath }/admin/updateFood" method="post">
		   		<input type="hidden" name="foodId" value="${food.foodId}">
		   		<div>
		   			食品名称：<input type="text" name="foodName" value="${food.foodName }" style="width: 473px; ">
		   			<span>***************</span>
		   		</div>
		   		<div>
		   			食品单价：<input type="text" name="price" value="${food.price }" style="width: 473px; ">
		   			<span>***************</span>
		   		</div>
				<input type="submit" value="提交">	   		
		   	</form>
	   	</div>
  </body>
</html>
